#ifndef NET_PROCESSOR_H_
#define NET_PROCESSOR_H_

#include "base/base.h"

namespace net {
class TcpStream;
class Buffer;

class Processor {
  public:
    explicit Processor() {
    }
    virtual ~Processor() {
    }

    virtual void HandleRead(TcpStream* stream, Buffer* buffer) = 0;
    virtual void HandleWrite(TcpStream* stream, Buffer* buffer) = 0;

  private:

    DISALLOW_COPY_AND_ASSIGN(Processor);
};
}
#endif
